package main

import "golang.org/x/text/encoding/simplifiedchinese"

func convertToANSI(content []byte) (string, error) {
	decoder := simplifiedchinese.GB18030.NewDecoder()
	gb18030Content, err := decoder.String(string(content))
	return gb18030Content, err
}
